package Lesson16;

public class Demo {

	public static void main(String[] args) 
	{
		Person person = new Person("12345", "colio");
		person.changePassword("colio", "see", "see");
		person.setAge(15);
		System.out.println(person.getAge("see"));
		
		System.out.println();
		// Static example
		Person p1 = new Person("12345", "123");
		Person p2 = new Person("12345", "135");
		Person p3 = new Person("12345", "185");
		Person p4 = new Person("12345", "12123");
		Person p5 = new Person("12345", "132423");
		System.out.println(p1.courseName);
		System.out.println(Person.courseName);
		System.out.println(p3.courseName);
		p1.courseName = "JAVASE";
		System.out.println(p3.courseName); 

	}

}
